package com.snail.pattern.proxy;

public class CoderVProxy implements Programmer{

    private CoderV coderV;

    public CoderVProxy(CoderV coderV){
        this.coderV = coderV;
    }

    @Override
    public void coding() {
        System.out.println("coder v is ready.......");
        coderV.coding();
        System.out.println("coder v is done.......");
    }

    @Override
    public void running() {
        System.out.println("coder v start running ......");
    }
}
